package com.puff.plugin.spring;

import org.springframework.context.ApplicationContext;

public enum BeanContextHelper {
	INSTANCE;
	protected ApplicationContext context;

	protected void setContext(ApplicationContext context) {
		this.context = context;
	}

	public Object getBean(String beanId) {
		return context.getBean(beanId);
	}
}